import {baseUrl,fileUrl} from "../../config/xn.conf"
import axios from 'axios'


const axiosPost = function(url,params){
    return axios.post(baseUrl+url,params);
}

const axiosPostHeaderKB = function(url,params,config){
    return axios.post(baseUrl+url,params,config);
}

const axiosPostHeader = function(url,params,config){
    return axios.post(fileUrl+url,params,config);
}

export {axiosPost}
export {axiosPostHeader}
export {axiosPostHeaderKB}